package cn.tx.dao;

import cn.tx.model.Admin;
import cn.tx.model.Grade;
import cn.tx.model.User;

import java.util.List;
import java.util.Map;

public interface AdminDao {


    public int addadmin(Admin admin);
    public List<Admin> findList(Map<String,Object> querymap);
    public List<Admin> findAll();
    public int UpdateAdminById(Admin admin);
    public int delete(String ids);
    public int findTotal(Map<String,Object> querymap);
    public Admin findByUserName(String account);
}
